package com.wu.company.entity;

import javax.persistence.*;

/**
 * POJO类Utiusergradepower
 */
@Entity
@Table(name = "UTIUSERGRADEPOWER")
public class Utiusergradepower implements java.io.Serializable {
	private static final long serialVersionUID = 1L;

	/** 属性ID */
	private UtiusergradepowerId id;

	/** 属性permitcomcode */
	private String permitcomcode;

	/** 属性exceptcomcode */
	private String exceptcomcode;

	/** 属性员工范围 */
	private String permitUserCode;

	/** 属性险种范围 */
	private String permitRiskCode;

	/** 属性codepermitcomcode */
	private String codepermitcomcode;

	/** 属性codeexceptcomcode */
	private String codeexceptcomcode;

	/** 属性customerexceptcomcode */
	private String customerexceptcomcode;

	/** 属性customerpermitcomcode */
	private String customerpermitcomcode;

	/** 属性exceptusercode */
	private String exceptusercode;

	/**
	 * 类Utiusergradepower的默认构造方法
	 */
	public Utiusergradepower() {
	}
	
	public Utiusergradepower(String permitcomcode, String exceptcomcode,
                             String permitUserCode, String permitRiskCode,
                             String codepermitcomcode, String codeexceptcomcode,
                             String customerexceptcomcode, String customerpermitcomcode,
                             String exceptusercode) {
		this.permitcomcode = permitcomcode;
		this.exceptcomcode = exceptcomcode;
		this.permitUserCode = permitUserCode;
		this.permitRiskCode = permitRiskCode;
		this.codepermitcomcode = codepermitcomcode;
		this.codeexceptcomcode = codeexceptcomcode;
		this.customerexceptcomcode = customerexceptcomcode;
		this.customerpermitcomcode = customerpermitcomcode;
		this.exceptusercode = exceptusercode;
	}

	/**
	 * 属性ID的getter方法
	 */
	@EmbeddedId
	@AttributeOverrides({
			@AttributeOverride(name = "comCode", column = @Column(name = "COMCODE")),
			@AttributeOverride(name = "userCode", column = @Column(name = "USERCODE")),
			@AttributeOverride(name = "gradeCode", column = @Column(name = "GRADECODE")),
			@AttributeOverride(name = "serialNo", column = @Column(name = "SERIALNO")) })
	public UtiusergradepowerId getId() {
		return this.id;
	}

	/**
	 * 属性ID的setter方法
	 */
	public void setId(UtiusergradepowerId id) {
		this.id = id;
	}

	/**
	 * 属性permitcomcode的getter方法
	 */

	@Column(name = "PERMITCOMCODE")
	public String getPermitcomcode() {
		return this.permitcomcode;
	}

	/**
	 * 属性permitcomcode的setter方法
	 */
	public void setPermitcomcode(String permitcomcode) {
		this.permitcomcode = permitcomcode;
	}

	/**
	 * 属性exceptcomcode的getter方法
	 */

	@Column(name = "EXCEPTCOMCODE")
	public String getExceptcomcode() {
		return this.exceptcomcode;
	}

	/**
	 * 属性exceptcomcode的setter方法
	 */
	public void setExceptcomcode(String exceptcomcode) {
		this.exceptcomcode = exceptcomcode;
	}

	/**
	 * 属性员工范围的getter方法
	 */

	@Column(name = "PERMITUSERCODE")
	public String getPermitUserCode() {
		return this.permitUserCode;
	}

	/**
	 * 属性员工范围的setter方法
	 */
	public void setPermitUserCode(String permitUserCode) {
		this.permitUserCode = permitUserCode;
	}

	/**
	 * 属性险种范围的getter方法
	 */

	@Column(name = "PERMITRISKCODE")
	public String getPermitRiskCode() {
		return this.permitRiskCode;
	}

	/**
	 * 属性险种范围的setter方法
	 */
	public void setPermitRiskCode(String permitRiskCode) {
		this.permitRiskCode = permitRiskCode;
	}

	/**
	 * 属性codepermitcomcode的getter方法
	 */

	@Column(name = "CODEPERMITCOMCODE")
	public String getCodepermitcomcode() {
		return this.codepermitcomcode;
	}

	/**
	 * 属性codepermitcomcode的setter方法
	 */
	public void setCodepermitcomcode(String codepermitcomcode) {
		this.codepermitcomcode = codepermitcomcode;
	}

	/**
	 * 属性codeexceptcomcode的getter方法
	 */

	@Column(name = "CODEEXCEPTCOMCODE")
	public String getCodeexceptcomcode() {
		return this.codeexceptcomcode;
	}

	/**
	 * 属性codeexceptcomcode的setter方法
	 */
	public void setCodeexceptcomcode(String codeexceptcomcode) {
		this.codeexceptcomcode = codeexceptcomcode;
	}

	/**
	 * 属性customerexceptcomcode的getter方法
	 */

	@Column(name = "CUSTOMEREXCEPTCOMCODE")
	public String getCustomerexceptcomcode() {
		return this.customerexceptcomcode;
	}

	/**
	 * 属性customerexceptcomcode的setter方法
	 */
	public void setCustomerexceptcomcode(String customerexceptcomcode) {
		this.customerexceptcomcode = customerexceptcomcode;
	}

	/**
	 * 属性customerpermitcomcode的getter方法
	 */

	@Column(name = "CUSTOMERPERMITCOMCODE")
	public String getCustomerpermitcomcode() {
		return this.customerpermitcomcode;
	}

	/**
	 * 属性customerpermitcomcode的setter方法
	 */
	public void setCustomerpermitcomcode(String customerpermitcomcode) {
		this.customerpermitcomcode = customerpermitcomcode;
	}

	/**
	 * 属性exceptusercode的getter方法
	 */

	@Column(name = "EXCEPTUSERCODE")
	public String getExceptusercode() {
		return this.exceptusercode;
	}

	/**
	 * 属性exceptusercode的setter方法
	 */
	public void setExceptusercode(String exceptusercode) {
		this.exceptusercode = exceptusercode;
	}

}
